﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Net;

namespace Np.GalleryDownloader.Classes
{
    public class HttpUtils
    {
        
        public static bool Download(string what, string where)
        {
            try
            {
                WebClient wc = new WebClient();
                wc.DownloadFile(what, where);
                wc.Dispose();
                return true;
            }
            catch { }
            return false;
        }
    }
}
